/**
 * TestaImpl TestaImpl.java
 */

package CCT220_Trabalho05_13106_Q1;


import java.util.ArrayList;

import CCT220_Trabalho05_13106_Q1.model.Funcionario;
import CCT220_Trabalho05_13106_Q1.model.Professor;
import CCT220_Trabalho05_13106_Q1.model.TecAdmin;


/**
 * </br>******************************
 * </br>Project: CCT220
 * </br>Package: CCT220_Trabalho05_13106
 * </br>Class: TestaImpl
 * </br>Last Change: 11/10/2011 21:27:37 by marcel
 * </br>Description:
 * </br>******************************</br>
 * 
 * @author marcel
 * @author 13106
 * 
 */
public class TestaImpl {

	/**
	 * </br>******************************
	 * </br>Package: CCT220_Trabalho05_13106
	 * </br>Class: TestaImpl
	 * </br>Method: main
	 * </br>Last Change: 11/10/2011 21:27:38 by marcel
	 * </br>Description:
	 * </br>******************************</br>
	 * 
	 * @param args
	 */
	public static void main(String[] args) {

		ArrayList<Funcionario> fun = new ArrayList<Funcionario>();
		Professor prof = new Professor(1, "Joao", "doutor", 35.35, 32);
		prof.adicionaPonto(4, 2009);
		prof.lancaFaltas(4, 2009, 2);
		prof.lancaAtrasos(4, 2009, 3);
		fun.add(prof);
		TecAdmin tec = new TecAdmin(11, "Pedro", "AnalistaContabil", 2300);
		tec.adicionaPonto(4, 2009);
		tec.lancaFaltas(4, 2009, 3);
		tec.lancaAtrasos(4, 2009, 4);
		fun.add(tec);
		for (Funcionario f : fun) {
			System.out.println(f.imprimeFolha(4, 2009));
		}

	}

}
